package com.guigu.qingcheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;
import java.util.Date;

@ToString
@ApiModel("")
@Table(name = "tb_order_log")
public class TbOrderLog {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @NotEmpty(message="ID不能为空")
    @Id
    private String id;

    /**
     * 操作员
     */
    @ApiModelProperty(value = "操作员")
    private String operater;

    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    @Column(name = "operate_time")
    private Date operateTime;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @Column(name = "order_id")
    private String orderId;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    @Column(name = "order_status")
    private String orderStatus;

    /**
     * 付款状态
     */
    @ApiModelProperty(value = "付款状态")
    @Column(name = "pay_status")
    private String payStatus;

    /**
     * 发货状态
     */
    @ApiModelProperty(value = "发货状态")
    @Column(name = "consign_status")
    private String consignStatus;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 获取ID
     *
     * @return id - ID
     */
    public String getId() {
        return id;
    }

    /**
     * 设置ID
     *
     * @param id ID
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取操作员
     *
     * @return operater - 操作员
     */
    public String getOperater() {
        return operater;
    }

    /**
     * 设置操作员
     *
     * @param operater 操作员
     */
    public void setOperater(String operater) {
        this.operater = operater;
    }

    /**
     * 获取操作时间
     *
     * @return operate_time - 操作时间
     */
    public Date getOperateTime() {
        return operateTime;
    }

    /**
     * 设置操作时间
     *
     * @param operateTime 操作时间
     */
    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    /**
     * 获取订单ID
     *
     * @return order_id - 订单ID
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置订单ID
     *
     * @param orderId 订单ID
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取订单状态
     *
     * @return order_status - 订单状态
     */
    public String getOrderStatus() {
        return orderStatus;
    }

    /**
     * 设置订单状态
     *
     * @param orderStatus 订单状态
     */
    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 获取付款状态
     *
     * @return pay_status - 付款状态
     */
    public String getPayStatus() {
        return payStatus;
    }

    /**
     * 设置付款状态
     *
     * @param payStatus 付款状态
     */
    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    /**
     * 获取发货状态
     *
     * @return consign_status - 发货状态
     */
    public String getConsignStatus() {
        return consignStatus;
    }

    /**
     * 设置发货状态
     *
     * @param consignStatus 发货状态
     */
    public void setConsignStatus(String consignStatus) {
        this.consignStatus = consignStatus;
    }

    /**
     * 获取备注
     *
     * @return remarks - 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 设置备注
     *
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}